Scheduler for WPF | ComponentOne
C1.C1Schedule Namespace / AppointmentList Class / Sort Method / Sort(Int32,Int32,IComparer<Appointment>) Method
The zero-based starting index of the range to sort.
The length of the range to sort.
The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.

In This Topic
    Sort(Int32,Int32,IComparer<Appointment>) Method
    In This Topic
    Sorts the elements in a range of elements in AppointmentList using the specified comparer.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal index As Integer, _
       ByVal count As Integer, _
       ByVal comparer As IComparer(Of Appointment) _
    ) 

    Parameters

    index
    The zero-based starting index of the range to sort.
    count
    The length of the range to sort.
    comparer
    The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.
    See Also